From: Richard M. Stallman Date: Wed, 27 Jun 2007 23:29:08 +0000 (+0000) Subject: (Format Conversion Piecemeal): Clarify X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~421^2~18154 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=2461e657b81ce6934a0690eb190767712c0e7d9d;p=emacs.git (Format Conversion Piecemeal): Clarify `after-insert-file-functions' calling convention. --- diff --git a/lispref/files.texi b/lispref/files.texi index 730b2b9b497..659229681b9 100644 --- a/lispref/files.texi +++ b/lispref/files.texi @@ -3071,8 +3071,10 @@ have been dealt with by this function. @defvar after-insert-file-functions Each function in this list is called by @code{insert-file-contents} -with one argument, the number of characters inserted, and should -return the new character count, leaving point the same. +with one argument, the number of characters inserted, and with point +at the beginning of the inserted text. Each function should leave +point unchanged, and return the new character count describing the +inserted text as modified by the function. @c ??? The docstring mentions a handler from `file-name-handler-alist' @c "intercepting" `insert-file-contents'. Hmmm. --ttn @end defvar